﻿@using BoneSystem.Models
@model DialogModel
<div id="@Model.DialogName">
    @using (Html.BeginForm(Model.ActionName, Model.ControllerName, FormMethod.Post, 
        new { @autocomplete = false,@name = Model.FormName }))
    {
       


            Html.RenderPartial("Rest/_RestForm",new CadastroRestModel()
            {
                FormName = Model.FormName,
                DialogName=Model.DialogName
            });
        
    }
</div>